﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dp.aspx.cs" Inherits="NetWebControl.ControlTest.OA.dp" %>

<%@ Register Assembly="ARS" Namespace="ARS.Control.Custom.DataPaging.Widget" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <script src="../../Scripts/easydialog/easydialog.min.js" type="text/javascript"></script>
    <link href="../../Scripts/easydialog/easydialog.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
    <script src="../../Scripts/DataPagingSearch.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div  id="DataPaging_SearchPanel" class="list-search">
            名称:<input id="nc" name="nc" type="text"  class="dp_search" />
            名称:<input id="lj" name="lj" type="text"  class="dp_search" />
            <a href="#" onclick="DataPaging_Operat.SearchDiv();"><img src="../../images/search.png"/>查  询</a>
            
            
        </div>
    <div>
        <cc1:DataPaging ID="DataPaging1" runat="server">
            <attrhtmltable theadtrhtml='<td>用户名</td><td>姓名</td>'>
                <td  class="name1">{{FieldName-UserName}}</td><td  class="name2">{{FieldName-RealName}}</td>
            </attrhtmltable>
            <attroperat columnname='<td>删除</td>' ishasoperat='true'><td><a href="#" onclick="DataPaging_Operat.DeleteData('{0}')">删除</a></td></attroperat>
            <AttrHtmlFanye ishasfanye='true'>
                <a href='#' onclick="DataPaging_Operat.GoToPage(1)" >首页</a> <a href='#' onclick='DataPaging_Operat.PagePrevious()' >上</a> <a href='javascript:void(0)' onclick='DataPaging_Operat.PageNext()' >下</a> <a href='' >末尾</a>
                <span>第{{PageIndex}}/{{ResultPages}}页 共{{ResultCount}}条</span>
<input id="Text_page" type="text" /><input id="Button1" type="button" value="button" onclick="DataPaging_Operat.GoToPageById('Text_page')" />
            </AttrHtmlFanye>
        </cc1:DataPaging>
    </div>
    </form>
</body>
</html>
